package com.hoshiicloud.payment.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 修改支付方式配置信息参数
 * </p>
 *
 * @author Mr.wu
 * @since 2019-05-13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "修改支付方式配置信息", description = "修改支付方式配置信息")
public class PaymentUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", required = true)
    private Integer id;
    @ApiModelProperty(value = "平台ID", example = "1", required = true)
    private Long platformId;
    @ApiModelProperty(value = "支付方式的英文缩写,暂时支持alipay和weixin")
    private String payCode;
    @ApiModelProperty(value = "支付方式名称")
    private String payName;
    @ApiModelProperty(value = "支付费用")
    private String payFee;
    @ApiModelProperty(value = "支付方式描述")
    private String payDesc;
    @ApiModelProperty(value = "支付方式在页面的显示顺序")
    private Integer payOrder;
    @ApiModelProperty(value = "是否可用，0，否；1，是")
    private Boolean enabled;
    @ApiModelProperty(value = "是否货到付款，0，否；1，是")
    private Boolean isCod;
    @ApiModelProperty(value = "是否在线支付，0，否；1，是")
    private Boolean isOnline;

}
